package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("class_schedule")
public class ClassSchedule {

  @TableId(type = IdType.AUTO)
  private long scheduleId;
  private long userId;
  private String classId;
  private String classRoom;
  private String weekday;
  @JsonFormat(pattern = "HH:mm")
  private java.sql.Time startTime;
  @JsonFormat(pattern = "HH:mm")
  private java.sql.Time endTime;
  private String scheduleStatus;


}
